Had the same issue on a personal project that did not need code signing.
Eventually fixed it by changing the CODESIGNIDENTITY inside the "project.pbxproj" file
So I've changed:
CODESIGNIDENTITY = "-"
to
CODESIGNIDENTITY = "";
This got me up-and-running.